//
//  NetIP.m
//  xingfugangwan
//
//  Created by rainday on 15/1/16.
//  Copyright (c) 2015年 rainday. All rights reserved.
//

#import "NetIP.h"

@interface NetIP()
@property (nonatomic ,strong) NSString *IP;


@end
@implementation NetIP


- (id)init{
    self = [super init];
    if (self) {
        _IP = @"http://218.126.170.226:8000";
        
    }
    return self;
}
+ (id)shareNetAddress{
    static id sharedInstance;
    static dispatch_once_t once;
    dispatch_once(&once, ^{
        
        sharedInstance = [[NetIP alloc] init];
    });
    
    return sharedInstance;
    
}

- (NSString *)getLoginURLString{
    return [NSString stringWithFormat:@"%@%@",_IP,@"/auth/login/"];
}

- (NSString *)getAuthURLString{
    return [NSString stringWithFormat:@"%@%@",_IP,@"/auth/checked/"];
}

- (NSString *)getLogoutURLString{
    return [NSString stringWithFormat:@"%@%@",_IP,@"/auth/logout/"];
    
}


- (NSString *)getSalesURLSring{
    return [NSString stringWithFormat:@"%@%@",_IP,@"/signing/sales/"];
}

- (NSString *)getAddOrderURLString{
    return [NSString stringWithFormat:@"%@%@",_IP,@"/signing/add/"];
    
}

- (NSString *)getBrandURLString{
    return [NSString stringWithFormat:@"%@%@",_IP,@"/signing/brand/"];
}

- (NSString *)getSearchOrderURLString{
    return [NSString stringWithFormat:@"%@%@",_IP,@"/signing/order/"];
}

- (NSString *)getSigningURLString{
    return [NSString stringWithFormat:@"%@%@",_IP,@"/signing/modify/"];
}
@end
